package com.haiyu.manager.dao;

import com.haiyu.manager.pojo.Message;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mapper.MyMapper;

import java.util.List;
@Repository
public interface MessageMapper extends MyMapper<Message> {
    List<Message> getMessageList();

    int updateMessageStatus(@Param("messageId") Integer messageId, @Param("textStatus") Integer textStatus);

    int updateMessage(Message Message);

    int insertMessage(Message message);


}
